<template>
    <div class="van-cell">
        <div class="van-cell__title">
            <span>{{ title }}</span>
            <div class="van-cell__label" v-for="(item, index) in contentList" :key="index">{{ item[contentKey] }}</div>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    title: String,
    contentList: Array,
    contentKey: String,
})

</script>

<style lang="scss" scoped>
.van-cell {
    font-size: 16px;
}
::v-deep .van-cell__label {
    font-size: 16px;
    line-height: 24px;
}
</style>